package com.itheima.TestWork1;

public class Tiger extends Animal {
    public Tiger() {
    }

    public Tiger(int age, int numOfLegs) {
        super(age, numOfLegs);
    }

    @Override
    void eat() {
        System.out.println("年龄为：" + getAge()+"的" + getNumOfLegs() +"的老虎正在吃🐏");
    }
}
